package cn.spingboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@Controller
public class WelcomeFtl {
/*正常的controller*/
@RequestMapping("/welcome")
 public String WelcomeController(Map<String,Object> result){
    System.out.println("这里是freemarker测试");
    result.put("name","Ang");
       return "welcome";
 }

}
